package com.reiuy.service.impl;

import com.reiuy.dao.AdminDao;
import com.reiuy.entity.Admin;
import com.reiuy.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminServiceImpl implements AdminService {

    @Resource
    private AdminDao adminDao;

    @Override
    public Admin adminLogin(Admin admin) {
        return adminDao.selectAdminByIdPass(admin);
    }
}
